package com.example.administrator.base.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/7/18 0018.
 */

public class SingleBicycle {

    /**
     * status : 0
     * message : 成功
     * size : 1
     * total : 1
     * entities : [{"entity_name":"500065231","create_time":"2017-06-20 20:44:23","modify_time":"2017-07-15 17:13:23","latest_location":{"loc_time":1500110003,"longitude":121.3797,"latitude":31.19654,"speed":4.00284,"direction":180},"cityNo":"0","entity_desc":"共享单车","status":"0"}]
     */

    private int status;
    private String message;
    private int size;
    private int total;
    private List<EntitiesBean> entities;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<EntitiesBean> getEntities() {
        return entities;
    }

    public void setEntities(List<EntitiesBean> entities) {
        this.entities = entities;
    }

    public static class EntitiesBean {
        /**
         * entity_name : 500065231
         * create_time : 2017-06-20 20:44:23
         * modify_time : 2017-07-15 17:13:23
         * latest_location : {"loc_time":1500110003,"longitude":121.3797,"latitude":31.19654,"speed":4.00284,"direction":180}
         * cityNo : 0
         * entity_desc : 共享单车
         * status : 0
         */

        private String entity_name;
        private String create_time;
        private String modify_time;
        private LatestLocationBean latest_location;
        private String cityNo;
        private String entity_desc;
        private String status;

        public String getEntity_name() {
            return entity_name;
        }

        public void setEntity_name(String entity_name) {
            this.entity_name = entity_name;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getModify_time() {
            return modify_time;
        }

        public void setModify_time(String modify_time) {
            this.modify_time = modify_time;
        }

        public LatestLocationBean getLatest_location() {
            return latest_location;
        }

        public void setLatest_location(LatestLocationBean latest_location) {
            this.latest_location = latest_location;
        }

        public String getCityNo() {
            return cityNo;
        }

        public void setCityNo(String cityNo) {
            this.cityNo = cityNo;
        }

        public String getEntity_desc() {
            return entity_desc;
        }

        public void setEntity_desc(String entity_desc) {
            this.entity_desc = entity_desc;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public static class LatestLocationBean {
            /**
             * loc_time : 1500110003
             * longitude : 121.3797
             * latitude : 31.19654
             * speed : 4.00284
             * direction : 180
             */

            private int loc_time;
            private double longitude;
            private double latitude;
            private double speed;
            private int direction;

            public int getLoc_time() {
                return loc_time;
            }

            public void setLoc_time(int loc_time) {
                this.loc_time = loc_time;
            }

            public double getLongitude() {
                return longitude;
            }

            public void setLongitude(double longitude) {
                this.longitude = longitude;
            }

            public double getLatitude() {
                return latitude;
            }

            public void setLatitude(double latitude) {
                this.latitude = latitude;
            }

            public double getSpeed() {
                return speed;
            }

            public void setSpeed(double speed) {
                this.speed = speed;
            }

            public int getDirection() {
                return direction;
            }

            public void setDirection(int direction) {
                this.direction = direction;
            }
        }
    }
}
